package com.example.springboot.service;
import com.example.springboot.pojo.Comment;
import com.example.springboot.pojo.User;
import com.github.pagehelper.PageInfo;

import java.util.List;
public interface CommentService {
    void create(Comment comment);
    List<Comment> findAll();
    List<Comment> findByUserName(String username);
    void delete(Integer id);
    PageInfo<Comment> selectPage(Integer pageNum, Integer pageSize);
    void deleteBatch(List<Integer> ids);
    List<Comment> findByUserId();
}
